package com.iswust.visual.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iswust.visual.model.BayonetData;
import com.iswust.visual.model.vo.DateTimeVo;
import com.iswust.visual.model.vo.MainViewVo;
import com.iswust.visual.model.vo.SankeyVo;
import com.iswust.visual.model.vo.ScatterData;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author swust
 * @since 2023-02-17
 */
public interface BayonetDataService extends IService<BayonetData> {
    /**
     *
     * @param dateTimeVo
     * @return
     */
    List<ScatterData> getByDay(DateTimeVo dateTimeVo);

    List<ScatterData> getByMonth(DateTimeVo dateTimeVo);

    /**
     * 根据时间获取不同车类型数量最大的卡口
     * @param dateTimeVo
     * @return
     */
    SankeyVo getBayonetByDate(DateTimeVo dateTimeVo);

    SankeyVo getBayonetByDate(DateTimeVo dateTimeVo,String name);

    List<MainViewVo> getMainViewDataByDate(DateTimeVo dateTimeVo);

}
